package com.ruoyi.qiuyue.mapper;

import java.util.List;
import com.ruoyi.qiuyue.domain.MusicUser;

/**
 * 秋月用户Mapper接口
 * 
 * @author ruoyi
 * @date 2024-05-15
 */
public interface MusicUserMapper 
{
    /**
     * 查询秋月用户
     * 
     * @param id 秋月用户主键
     * @return 秋月用户
     */
    public MusicUser selectMusicUserById(Long id);

    /**
     * 查询秋月用户列表
     * 
     * @param musicUser 秋月用户
     * @return 秋月用户集合
     */
    public List<MusicUser> selectMusicUserList(MusicUser musicUser);

    /**
     * 新增秋月用户
     * 
     * @param musicUser 秋月用户
     * @return 结果
     */
    public int insertMusicUser(MusicUser musicUser);

    /**
     * 修改秋月用户
     * 
     * @param musicUser 秋月用户
     * @return 结果
     */
    public int updateMusicUser(MusicUser musicUser);

    /**
     * 删除秋月用户
     * 
     * @param id 秋月用户主键
     * @return 结果
     */
    public int deleteMusicUserById(Long id);

    /**
     * 批量删除秋月用户
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMusicUserByIds(Long[] ids);

    /**
     * 根据MusicUser进行单个用户的条件查询
     * @param musicUser
     * @return
     */
    public MusicUser selectMusicUserBySelf(MusicUser musicUser);
}
